# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.


class ApplicationController < ActionController::Base
  # Pick a unique cookie name to distinguish our session data from others'
  session :session_key => '_sotools_session_id'
    # Be sure to include AuthenticationSystem in Application Controller instead.. MARSHALL, I moved the below line of code per instruction on restful_authentication
  include AuthenticatedSystem
   # If you want "remember me" functionality, add this before_filter to Application Controller... MARSHALL, also moved this one 
  before_filter :login_from_cookie
end



